You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > Copy Method > TOpenCLMtxVec.Copy Method ([In] TOpenCLMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.Copy Method ([In] TOpenCLMtxVec)

Copy object values.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Copy([In] TOpenCLMtxVec Src);

Copy each of Vec elements to the calling object. Size and TOpenCLBase.ComplexComplex properties of the calling object are set implicitly to match Vec object.

var a,b: TOpenCLVector; begin a.CopyCplxFromArray(TSingleArray.Create(1,2,3,4)); // a = [1+2i,3+4i] b.Copy(a); // b = [1,2,3,4] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!